<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>添加分类</title>
    <link rel="stylesheet" href="/static/lib/layuiadmin/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/static/lib/layuiadmin/css/global.css" media="all">
    <link rel="stylesheet" href="/static/lib/layuiadmin/plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/lib/layuiadmin/css/table.css" />
</head>

<body>
<div class="admin-main">

    <blockquote class="layui-elem-quote">
      系统设置
    </blockquote>

    <div style="margin: 15px;">
        <form class="layui-form" method="post" action="/admin/config/update">


            <div class="layui-form-item">
                <label class="layui-form-label">网站名称</label>
                <div class="layui-input-block">
                    <input type="text" name="webname" <{if condition="(isset($configs['webname']))"}>value="<{$configs.webname.cvalue}>"<{/if}> required lay-verify="required" placeholder="请输入网站名称" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">网站关键词</label>
                <div class="layui-input-block">
                    <input type="text" name="webkeyword" <{if condition="(isset($configs['webkeyword']))"}>value="<{$configs.webkeyword.cvalue}>"<{/if}> required lay-verify="required" placeholder="请输入关键词" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">网站描述</label>
                <div class="layui-input-block">
                    <input type="text" name="webdescription" <{if condition="(isset($configs['webdescription']))"}>value="<{$configs.webdescription.cvalue}>"<{/if}> required lay-verify="required" placeholder="请输入网站描述" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">备案号</label>
                <div class="layui-input-block">
                    <input type="text" name="icp" <{if condition="(isset($configs['icp']))"}>value="<{$configs.icp.cvalue}>"<{/if}> required lay-verify="required" placeholder="请输入备案号" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">服务热线</label>
                <div class="layui-input-block">
                    <input type="text" name="service_hot_line" <{if condition="(isset($configs['service_hot_line']))"}>value="<{$configs.service_hot_line.cvalue}>"<{/if}> required lay-verify="required" placeholder="服务热线" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button lay-filter="add" lay-submit class="layui-btn">提交</button>
                </div>
            </div>
        </form>
    </div>

</div>
<script type="text/javascript" src="/static/lib/layuiadmin/plugins/layui/layui.js"></script>
<script type="text/javascript">
    layui.use('form', function(){
        var form = layui.form();
    });
</script>

</body>

</html>